#include <iostream>
#include <vector>
#include "Config.hpp"
#include "Misc.hpp"

int main(int argc, char **argv) {
	using namespace std;
	Config conf(argc, argv);
	conf.loadConfig();

	misc::IpAddrList v = conf.MysqlAuthServers();
	for( auto &i : v ) {
		cout << (i).getAddr() << " : " << (i).getPort() << endl;
	}
//	bool dev = conf.IsDevServer();
//	cout << "IsDev: " << (dev ? "true" : "false") << endl;
	return 0;
}
